package com.lyy.photovoltaic.controller;

import com.alibaba.fastjson.JSONObject;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.*;

@RestController
@CrossOrigin
@RequestMapping("/test")
@Api(value = "测试接口", tags = "测试")
public class TestController {
    @PostMapping("/Param")
    public void getParams(@RequestParam("string") String[] strings){
        System.out.println("strings：");
        System.out.println(strings);
    }
}
